/*
 * @Description: 
 * @Version: 1.0
 * @Author: tao
 * @Date: 2021-02-21 13:15:26
 * @LastEditors: tao
 * @LastEditTime: 2021-03-24 00:26:57
 */
const mutations = {
  setStatus(state, payload) {
    state.status = payload.status;
  },
  setIsLogin(state, payload) {
    state.isLogin = payload.login
  },
  setPower(state, payload) {
    state.power = payload.power
  },
  setRouteList(state, payload) {
    state.routeList = payload.routeList
  },
  setUserName(state, payload) {
    state.userName = payload.userName
  },
  setAllTypeList(state, payload) {
    state.allTypeList = payload.allTypeList
  },
  setToken(state, payload) {
    state.token = payload.token
  },
  setUserId(state, payload) {
    state.userId = payload.userId
  },
  setType(state, payload) {
    state.type = payload.type
  },
}

export default mutations